Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Working With QuickDraw GX Print Files


GXDeletePrintFilePageRange

You can use the GXDeletePrintFilePageRange function to delete a range of pages within a particular print file object.

void GXDeletePrintFilePageRange (gxPrintFile aPrintFile, 
                                 long fromPageNumber, 
                                 long toPageNumber);
aPrintFile
A reference to the print file object from whose file you want to delete pages.
fromPageNumber
The first page that you want to delete.
toPageNumber
The last page that you want to delete.
DESCRIPTION
The GXDeletePrintFilePageRange function deletes a page or pages in a print file object within the range that you specify in the fromPageNumber and toPageNumber parameters. The range of page numbers is inclusive. For example, deleting from page 2 to page 3 deletes both pages 2 and 3.

Any changes you make to a print file are not permanent until you save the print file object with the GXSavePrintFile function.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
SEE ALSO
To save a print file object, see the description of the GXSavePrintFile function in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help